package com.ruoyi.project.modules.pageTag.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 页面标签信息对象 t_page_tag
 * 
 * @author smallrain
 * @date 2022-03-22
 */
public class PageTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 页面id */
    @Excel(name = "页面id")
    private Long pageId;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String tagName;

    /** 排序 */
    @Excel(name = "排序")
    private int orderNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPageId(Long pageId) 
    {
        this.pageId = pageId;
    }

    public Long getPageId() 
    {
        return pageId;
    }
    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }

    public int getOrderNum()
    {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pageId", getPageId())
            .append("tagName", getTagName())
            .append("orderNum", getOrderNum())
            .toString();
    }
}
